@extends('layouts.app')

@section('title', '管理员登录')

@section('css')
 <link rel="stylesheet" type="text/css" href="{{asset('/static/css/signin.css')}}">

@endsection

@section('header')

@endsection

@section('sidebar')

@endsection

@section('content')
   <div class="error-info alert alert-danger" role='alert'></div>
<form class="form-signin" style="text-align: center;">
    <h1 class="h3 mb-3 font-weight-normal">Admin sign in</h1>
    <label for="inputUsername" class="sr-only">Username</label>
    <input type="text" id="inputUsername" class="form-control" placeholder="Username" required autofocus>
    <label for="inputPassword" class="sr-only">Password</label>
    <input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
    <button class="btn btn-lg btn-primary btn-block btn-submit" type="button">Sign in</button>
</form>
@endsection


@section('javascript')

<script>
 var adminUrl="{{ url('/admin') }}"

</script>

<script type="text/javascript" src="{{asset('/static/js/adminLogin.js')}}"></script>

@endsection